home *** CD-ROM | disk | FTP | other *** search
/ Freelog 70 / Freelog070.iso / Internet / EasyPHP / easyphp1-8_setup.exe / {app} / conf_files / php.ini < prev   
Encoding:
INI File  |  2005-02-15  |  39.7 KB  |  1,117 lines

  1. ; IMPORTANT
  2. ; ${path} is used to specify EasyPHP installation path
  3.  
  4. [PHP]
  5.  
  6. ;;;;;;;;;;;;;;;;;;;
  7. ; About this file ;
  8. ;;;;;;;;;;;;;;;;;;;
  9. ;
  10. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  11. ; sets some non standard settings, that make PHP more efficient, more secure,
  12. ; and encourage cleaner coding.
  13. ; The price is that with these settings, PHP may be incompatible with some
  14. ; applications, and sometimes, more difficult to develop with.  Using this
  15. ; file is warmly recommended for production sites.  As all of the changes from
  16. ; the standard settings are thoroughly documented, you can go over each one,
  17. ; and decide whether you want to use it or not.
  18. ;
  19. ; For general information about the php.ini file, please consult the php.ini-dist
  20. ; file, included in your PHP distribution.
  21. ;
  22. ; This file is different from the php.ini-dist file in the fact that it features
  23. ; different values for several directives, in order to improve performance, while
  24. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  25. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  26. ; accordingly, if you decide to use this file instead.
  27. ;
  28. ; - register_globals = Off         [Security, Performance]
  29. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  30. ;     environment and other server variables).  Instead of using $foo, you must use
  31. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  32. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  33. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  34. ;     on where the input originates.  Also, you can look at the
  35. ;     import_request_variables() function.
  36. ;     Note that register_globals is going to be depracated (i.e., turned off by
  37. ;     default) in the next version of PHP, because it often leads to security bugs.
  38. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  39. ;     information.
  40. ; - display_errors = Off           [Security]
  41. ;     With this directive set to off, errors that occur during the execution of
  42. ;     scripts will no longer be displayed as a part of the script output, and thus,
  43. ;     will no longer be exposed to remote users.  With some errors, the error message
  44. ;     content may expose information about your script, web server, or database
  45. ;     server that may be exploitable for hacking.  Production sites should have this
  46. ;     directive set to off.
  47. ; - log_errors = On                [Security]
  48. ;     This directive complements the above one.  Any errors that occur during the
  49. ;     execution of your script will be logged (typically, to your server's error log,
  50. ;     but can be configured in several ways).  Along with setting display_errors to off,
  51. ;     this setup gives you the ability to fully understand what may have gone wrong,
  52. ;     without exposing any sensitive information to remote users.
  53. ; - output_buffering = 4096        [Performance]
  54. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  55. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  56. ;     better performance.  The gain this directive actually yields greatly depends
  57. ;     on which Web server you're working with, and what kind of scripts you're using.
  58. ; - register_argc_argv = Off       [Performance]
  59. ;     Disables registration of the somewhat redundant $argv and $argc global
  60. ;     variables.
  61. ; - magic_quotes_gpc = Off         [Performance]
  62. ;     Input data is no longer escaped with slashes so that it can be sent into
  63. ;     SQL databases without further manipulation.  Instead, you should use the
  64. ;     function addslashes() on each input element you wish to send to a database.
  65. ; - variables_order = "GPCS"       [Performance]
  66. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  67. ;     environment variables, you can use getenv() instead.
  68. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  69. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  70. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  71. ;     problem.  Most notably, this will cause error messages about the use
  72. ;     of uninitialized variables to be displayed.
  73. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  74. ;     It's not possible to decide to force a variable to be passed by reference
  75. ;     when calling a function.  The PHP 4 style to do this is by making the
  76. ;     function require the relevant argument by reference.
  77.  
  78.  
  79. ;;;;;;;;;;;;;;;;;;;;
  80. ; Language Options ;
  81. ;;;;;;;;;;;;;;;;;;;;
  82.  
  83. ; Enable the PHP scripting language engine under Apache.
  84. engine = On
  85.  
  86. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  87. ; NOTE: Using short tags should be avoided when developing applications or
  88. ; libraries that are meant for redistribution, or deployment on PHP
  89. ; servers which are not under your control, because short tags may not
  90. ; be supported on the target server. For portable, redistributable code,
  91. ; be sure not to use short tags.
  92. short_open_tag = On
  93.  
  94. ; Allow ASP-style <% %> tags.
  95. asp_tags = Off
  96.  
  97. ; The number of significant digits displayed in floating point numbers.
  98. precision    =  14
  99.  
  100. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  101. y2k_compliance = On
  102.  
  103. ; Output buffering allows you to send header lines (including cookies) even
  104. ; after you send body content, at the price of slowing PHP's output layer a
  105. ; bit.  You can enable output buffering during runtime by calling the output
  106. ; buffering functions.  You can also enable output buffering for all files by
  107. ; setting this directive to On.  If you wish to limit the size of the buffer
  108. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  109. ; a value for this directive (e.g., output_buffering=4096).
  110. output_buffering = 0
  111.  
  112. ; You can redirect all of the output of your scripts to a function.  For
  113. ; example, if you set output_handler to "mb_output_handler", character
  114. ; encoding will be transparently converted to the specified encoding.
  115. ; Setting any output handler automatically turns on output buffering.
  116. ; Note: People who wrote portable scripts should not depend on this ini
  117. ;       directive. Instead, explicitly set the output handler using ob_start().
  118. ;       Using this ini directive may cause problems unless you know what script 
  119. ;       is doing.
  120. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  121. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
  122. ;output_handler =
  123.  
  124. ; Transparent output compression using the zlib library
  125. ; Valid values for this option are 'off', 'on', or a specific buffer size
  126. ; to be used for compression (default is 4KB)
  127. ; Note: Resulting chunk size may vary due to nature of compression. PHP 
  128. ;       outputs chunks that are few handreds bytes each as a result of compression. 
  129. ;       If you want larger chunk size for better performence, enable output_buffering 
  130. ;       also. 
  131. ; Note: output_handler must be empty if this is set 'On' !!!!
  132. ;       Instead you must use zlib.output_handler.
  133. zlib.output_compression = Off
  134.  
  135. ; You cannot specify additional output handlers if zlib.output_compression
  136. ; is activated here. This setting does the same as output_handler but in
  137. ; a different order.
  138. ;zlib.output_handler =
  139.  
  140. ; Implicit flush tells PHP to tell the output layer to flush itself
  141. ; automatically after every output block.  This is equivalent to calling the
  142. ; PHP function flush() after each and every call to print() or echo() and each
  143. ; and every HTML block.  Turning this option on has serious performance
  144. ; implications and is generally recommended for debugging purposes only.
  145. implicit_flush = Off
  146.  
  147. ; The unserialize callback function will called (with the undefind class'
  148. ; name as parameter), if the unserializer finds an undefined class
  149. ; which should be instanciated.
  150. ; A warning appears if the specified function is not defined, or if the
  151. ; function doesn't include/implement the missing class.
  152. ; So only set this entry, if you really want to implement such a 
  153. ; callback-function.
  154. unserialize_callback_func=
  155.  
  156. ; When floats & doubles are serialized store serialize_precision significant
  157. ; digits after the floating point. The default value ensures that when floats
  158. ; are decoded with unserialize, the data will remain the same.
  159. serialize_precision = 100
  160.  
  161. ; Whether to enable the ability to force arguments to be passed by reference
  162. ; at function call time.  This method is deprecated and is likely to be
  163. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  164. ; specifying which arguments should be passed by reference is in the function
  165. ; declaration.  You're encouraged to try and turn this option Off and make
  166. ; sure your scripts work properly with it in order to ensure they will work
  167. ; with future versions of the language (you will receive a warning each time
  168. ; you use this feature, and the argument will be passed by value instead of by
  169. ; reference).
  170. allow_call_time_pass_reference = Off
  171.  
  172. ;
  173. ; Safe Mode
  174. ;
  175. safe_mode = Off
  176.  
  177. ; By default, Safe Mode does a UID compare check when
  178. ; opening files. If you want to relax this to a GID compare,
  179. ; then turn on safe_mode_gid.
  180. safe_mode_gid = Off
  181.  
  182. ; When safe_mode is on, UID/GID checks are bypassed when
  183. ; including files from this directory and its subdirectories.
  184. ; (directory must also be in include_path or full path must
  185. ; be used when including)
  186. safe_mode_include_dir =                                
  187.  
  188. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  189. ; will be allowed to be executed via the exec family of functions.
  190. safe_mode_exec_dir =
  191.  
  192. ; Setting certain environment variables may be a potential security breach.
  193. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  194. ; the user may only alter environment variables whose names begin with the
  195. ; prefixes supplied here.  By default, users will only be able to set
  196. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  197. ;
  198. ; Note:  If this directive is empty, PHP will let the user modify ANY
  199. ; environment variable!
  200. safe_mode_allowed_env_vars = PHP_
  201.  
  202. ; This directive contains a comma-delimited list of environment variables that
  203. ; the end user won't be able to change using putenv().  These variables will be
  204. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  205. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  206.  
  207. ; open_basedir, if set, limits all file operations to the defined directory
  208. ; and below.  This directive makes most sense if used in a per-directory
  209. ; or per-virtualhost web server configuration file. This directive is
  210. ; *NOT* affected by whether Safe Mode is turned On or Off.
  211. ;open_basedir =
  212.  
  213. ; This directive allows you to disable certain functions for security reasons.
  214. ; It receives a comma-delimited list of function names. This directive is
  215. ; *NOT* affected by whether Safe Mode is turned On or Off.
  216. disable_functions =
  217.  
  218. ; This directive allows you to disable certain classes for security reasons.
  219. ; It receives a comma-delimited list of class names. This directive is
  220. ; *NOT* affected by whether Safe Mode is turned On or Off.
  221. disable_classes =
  222.  
  223. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  224. ; <font color="??????"> would work.
  225. ;highlight.string  = #DD0000
  226. ;highlight.comment = #FF9900
  227. ;highlight.keyword = #007700
  228. ;highlight.bg      = #FFFFFF
  229. ;highlight.default = #0000BB
  230. ;highlight.html    = #000000
  231.  
  232.  
  233. ;
  234. ; Misc
  235. ;
  236. ; Decides whether PHP may expose the fact that it is installed on the server
  237. ; (e.g. by adding its signature to the Web server header).  It is no security
  238. ; threat in any way, but it makes it possible to determine whether you use PHP
  239. ; on your server or not.
  240. expose_php = On
  241.  
  242.  
  243. ;;;;;;;;;;;;;;;;;;;
  244. ; Resource Limits ;
  245. ;;;;;;;;;;;;;;;;;;;
  246.  
  247. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  248. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  249. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  250.  
  251.  
  252. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  253. ; Error handling and logging ;
  254. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  255.  
  256. ; error_reporting is a bit-field.  Or each number up to get desired error
  257. ; reporting level
  258. ; E_ALL             - All errors and warnings
  259. ; E_ERROR           - fatal run-time errors
  260. ; E_WARNING         - run-time warnings (non-fatal errors)
  261. ; E_PARSE           - compile-time parse errors
  262. ; E_NOTICE          - run-time notices (these are warnings which often result
  263. ;                     from a bug in your code, but it's possible that it was
  264. ;                     intentional (e.g., using an uninitialized variable and
  265. ;                     relying on the fact it's automatically initialized to an
  266. ;                     empty string)
  267. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  268. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  269. ;                     initial startup
  270. ; E_COMPILE_ERROR   - fatal compile-time errors
  271. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  272. ; E_USER_ERROR      - user-generated error message
  273. ; E_USER_WARNING    - user-generated warning message
  274. ; E_USER_NOTICE     - user-generated notice message
  275. ;
  276. ; Examples:
  277. ;
  278. ;   - Show all errors, except for notices
  279. ;
  280. ;error_reporting = E_ALL & ~E_NOTICE
  281. ;
  282. ;   - Show only errors
  283. ;
  284. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  285. ;
  286. ;   - Show all errors
  287. ;
  288. error_reporting  =  E_ALL
  289.  
  290. ; Print out errors (as a part of the output).  For production web sites,
  291. ; you're strongly encouraged to turn this feature off, and use error logging
  292. ; instead (see below).  Keeping display_errors enabled on a production web site
  293. ; may reveal security information to end users, such as file paths on your Web
  294. ; server, your database schema or other information.
  295. display_errors = On
  296.  
  297. ; Even when display_errors is on, errors that occur during PHP's startup
  298. ; sequence are not displayed.  It's strongly recommended to keep
  299. ; display_startup_errors off, except for when debugging.
  300. display_startup_errors = Off
  301.  
  302. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  303. ; As stated above, you're strongly advised to use error logging in place of
  304. ; error displaying on production web sites.
  305. log_errors = On
  306.  
  307. ; Set maximum length of log_errors. In error_log information about the source is
  308. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  309. log_errors_max_len = 1024
  310.  
  311. ; Do not log repeated messages. Repeated errors must occur in same file on same
  312. ; line until ignore_repeated_source is set true.
  313. ignore_repeated_errors = Off
  314.  
  315. ; Ignore source of message when ignoring repeated messages. When this setting 
  316. ; is On you will not log errors with repeated messages from different files or
  317. ; sourcelines.
  318. ignore_repeated_source = Off
  319.  
  320. ; If this parameter is set to Off, then memory leaks will not be shown (on
  321. ; stdout or in the log). This has only effect in a debug compile, and if 
  322. ; error reporting includes E_WARNING in the allowed list
  323. report_memleaks = On
  324.  
  325. ; Store the last error/warning message in $php_errormsg (boolean).
  326. track_errors = Off
  327.  
  328. ; Disable the inclusion of HTML tags in error messages.
  329. ;html_errors = Off
  330.  
  331. ; If html_errors is set On PHP produces clickable error messages that direct 
  332. ; to a page describing the error or function causing the error in detail.
  333. ; You can download a copy of the PHP manual from http://www.php.net/docs.php 
  334. ; and change docref_root to the base URL of your local copy including the
  335. ; leading '/'. You must also specify the file extension being used including 
  336. ; the dot.
  337. ;docref_root = "/phpmanual/"
  338. ;docref_ext = .html
  339.   
  340. ; String to output before an error message.
  341. ;error_prepend_string = "<font color=ff0000>"
  342.  
  343. ; String to output after an error message.
  344. ;error_append_string = "</font>"
  345.  
  346. ; Log errors to specified file.
  347. ;error_log = filename
  348.  
  349. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  350. ;error_log = syslog
  351.  
  352.  
  353. ;;;;;;;;;;;;;;;;;
  354. ; Data Handling ;
  355. ;;;;;;;;;;;;;;;;;
  356. ;
  357. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  358.  
  359. ; The separator used in PHP generated URLs to separate arguments.
  360. ; Default is "&". 
  361. ;arg_separator.output = "&"
  362.  
  363. ; List of separator(s) used by PHP to parse input URLs into variables.
  364. ; Default is "&". 
  365. ; NOTE: Every character in this directive is considered as separator!
  366. ;arg_separator.input = ";&"
  367.  
  368. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  369. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  370. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  371. ; values override older values.
  372. variables_order = "GPCS"
  373.  
  374. ; Whether or not to register the EGPCS variables as global variables.  You may
  375. ; want to turn this off if you don't want to clutter your scripts' global scope
  376. ; with user data.  This makes most sense when coupled with track_vars - in which
  377. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  378. ; variables.
  379. ;
  380. ; You should do your best to write your scripts so that they do not require
  381. ; register_globals to be on;  Using form variables as globals can easily lead
  382. ; to possible security problems, if the code is not very well thought of.
  383. register_globals = Off
  384.  
  385. ; This directive tells PHP whether to declare the argv&argc variables (that
  386. ; would contain the GET information).  If you don't use these variables, you
  387. ; should turn it off for increased performance.
  388. register_argc_argv = Off
  389.  
  390. ; Maximum size of POST data that PHP will accept.
  391. post_max_size = 8M
  392.  
  393. ; This directive is deprecated.  Use variables_order instead.
  394. gpc_order = "GPC"
  395.  
  396. ; Magic quotes
  397. ;
  398.  
  399. ; Magic quotes for incoming GET/POST/Cookie data.
  400. magic_quotes_gpc = Off
  401.  
  402. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  403. magic_quotes_runtime = Off    
  404.  
  405. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  406. magic_quotes_sybase = Off
  407.  
  408. ; Automatically add files before or after any PHP document.
  409. auto_prepend_file =
  410. auto_append_file =
  411.  
  412. ; As of 4.0b4, PHP always outputs a character encoding by default in
  413. ; the Content-type: header.  To disable sending of the charset, simply
  414. ; set it to be empty.
  415. ;
  416. ; PHP's built-in default is text/html
  417. default_mimetype = "text/html"
  418. ;default_charset = "iso-8859-1"
  419.  
  420. ; Always populate the $HTTP_RAW_POST_DATA variable.                               
  421. ;always_populate_raw_post_data = On
  422.  
  423.  
  424. ;;;;;;;;;;;;;;;;;;;;;;;;;
  425. ; Paths and Directories ;
  426. ;;;;;;;;;;;;;;;;;;;;;;;;;
  427.  
  428. ; UNIX: "/path1:/path2"  
  429. ;include_path = ".:/php/includes"
  430. ;
  431. ; Windows: "\path1;\path2"
  432. include_path = ".;${path}\php\pear\"
  433.  
  434. ; The root of the PHP pages, used only if nonempty.
  435. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  436. ; if you are running php as a CGI under any web server (other than IIS)
  437. ; see documentation for security issues.  The alternate is to use the
  438. ; cgi.force_redirect configuration below
  439. doc_root =
  440.  
  441. ; The directory under which PHP opens the script using /~usernamem used only
  442. ; if nonempty.
  443. user_dir =
  444.  
  445. ; Directory in which the loadable extensions (modules) reside.
  446. extension_dir = "${path}\php\extensions\"
  447.  
  448. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  449. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  450. ; disabled on them.
  451. enable_dl = On
  452.  
  453. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  454. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  455. ; turn it off here AT YOUR OWN RISK
  456. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  457. ; cgi.force_redirect = 1
  458.  
  459. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  460. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  461. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  462. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  463. ; cgi.redirect_status_env = ;
  464.  
  465. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  466. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  467. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  468. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  469. ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
  470. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  471. ; cgi.fix_pathinfo=1
  472.  
  473. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  474. ; security tokens of the calling client.  This allows IIS to define the
  475. ; security context that the request runs under.  mod_fastcgi under Apache
  476. ; does not currently support this feature (03/17/2002)
  477. ; Set to 1 if running under IIS.  Default is zero.
  478. ; fastcgi.impersonate = 1;
  479.  
  480. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  481. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  482. ; is supported by Apache. When this option is set to 1 PHP will send
  483. ; RFC2616 compliant header.
  484. ; Default is zero.
  485. ;cgi.rfc2616_headers = 0 
  486.  
  487.  
  488. ;;;;;;;;;;;;;;;;
  489. ; File Uploads ;
  490. ;;;;;;;;;;;;;;;;
  491.  
  492. ; Whether to allow HTTP file uploads.
  493. file_uploads = On
  494.  
  495. ; Temporary directory for HTTP uploaded files (will use system default if not
  496. ; specified).
  497. upload_tmp_dir = "${path}\tmp\"
  498.  
  499. ; Maximum allowed size for uploaded files.
  500. upload_max_filesize = 2M
  501.  
  502.  
  503. ;;;;;;;;;;;;;;;;;;
  504. ; Fopen wrappers ;
  505. ;;;;;;;;;;;;;;;;;;
  506.  
  507. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  508. allow_url_fopen = On
  509.  
  510. ; Define the anonymous ftp password (your email address)
  511. ;from="john@doe.com"
  512.  
  513. ; Define the user agent for php to send
  514. ;user_agent="PHP"
  515.  
  516. ; Default timeout for socket based streams (seconds)
  517. default_socket_timeout = 60
  518.  
  519. ; If your scripts have to deal with files from Macintosh systems,
  520. ; or you are running on a Mac and need to deal with files from
  521. ; unix or win32 systems, setting this flag will cause PHP to
  522. ; automatically detect the EOL character in those files so that
  523. ; fgets() and file() will work regardless of the source of the file.
  524. ; auto_detect_line_endings = Off
  525.  
  526.  
  527. ;;;;;;;;;;;;;;;;;;;
  528. ; Module Settings ;
  529. ;;;;;;;;;;;;;;;;;;;
  530.  
  531. [Syslog]
  532. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  533. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  534. ; runtime, you can define these variables by calling define_syslog_variables().
  535. define_syslog_variables  = Off
  536.  
  537. [mail function]
  538. ; For Win32 only.
  539. SMTP = localhost
  540.  
  541. ; For Win32 only.
  542. sendmail_from = me@localhost.com
  543.  
  544. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  545. ;sendmail_path =
  546.  
  547. [Java]
  548. ;java.class.path = .\php_java.jar
  549. ;java.home = c:\jdk
  550. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  551. ;java.library.path = .\
  552.  
  553. [SQL]
  554. sql.safe_mode = Off
  555.  
  556. [ODBC]
  557. ;odbc.default_db    =  Not yet implemented
  558. ;odbc.default_user  =  Not yet implemented
  559. ;odbc.default_pw    =  Not yet implemented
  560.  
  561. ; Allow or prevent persistent links.
  562. odbc.allow_persistent = On
  563.  
  564. ; Check that a connection is still valid before reuse.
  565. odbc.check_persistent = On
  566.  
  567. ; Maximum number of persistent links.  -1 means no limit.
  568. odbc.max_persistent = -1
  569.  
  570. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  571. odbc.max_links = -1  
  572.  
  573. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  574. ; passthru.
  575. odbc.defaultlrl = 4096  
  576.  
  577. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  578. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  579. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  580. odbc.defaultbinmode = 1  
  581.  
  582. [MySQL]
  583. ; Allow or prevent persistent links.
  584. mysql.allow_persistent = On
  585.  
  586. ; Maximum number of persistent links.  -1 means no limit.
  587. mysql.max_persistent = -1
  588.  
  589. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  590. mysql.max_links = -1
  591.  
  592. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  593. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  594. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  595. ; at MYSQL_PORT.
  596. mysql.default_port =
  597.  
  598. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  599. ; MySQL defaults.
  600. mysql.default_socket =
  601.  
  602. ; Default host for mysql_connect() (doesn't apply in safe mode).
  603. mysql.default_host =
  604.  
  605. ; Default user for mysql_connect() (doesn't apply in safe mode).
  606. mysql.default_user =
  607.  
  608. ; Default password for mysql_connect() (doesn't apply in safe mode).
  609. ; Note that this is generally a *bad* idea to store passwords in this file.
  610. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  611. ; and reveal this password!  And of course, any users with read access to this
  612. ; file will be able to reveal the password as well.
  613. mysql.default_password =
  614.  
  615. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  616. mysql.connect_timeout = 60
  617.  
  618. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  619. ; SQL-Erros will be displayed.
  620. mysql.trace_mode = Off
  621.  
  622. [mSQL]
  623. ; Allow or prevent persistent links.
  624. msql.allow_persistent = On
  625.  
  626. ; Maximum number of persistent links.  -1 means no limit.
  627. msql.max_persistent = -1
  628.  
  629. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  630. msql.max_links = -1
  631.  
  632. [PostgresSQL]
  633. ; Allow or prevent persistent links.
  634. pgsql.allow_persistent = On
  635.  
  636. ; Detect broken persistent links always with pg_pconnect(). 
  637. ; Auto reset feature requires a little overheads.
  638. pgsql.auto_reset_persistent = Off
  639.  
  640. ; Maximum number of persistent links.  -1 means no limit.
  641. pgsql.max_persistent = -1
  642.  
  643. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  644. pgsql.max_links = -1
  645.  
  646. ; Ignore PostgreSQL backends Notice message or not.
  647. ; Notice message logging require a little overheads.
  648. pgsql.ignore_notice = 0
  649.  
  650. ; Log PostgreSQL backends Noitce message or not.
  651. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  652. pgsql.log_notice = 0
  653.  
  654. [Sybase]
  655. ; Allow or prevent persistent links.
  656. sybase.allow_persistent = On
  657.  
  658. ; Maximum number of persistent links.  -1 means no limit.
  659. sybase.max_persistent = -1
  660.  
  661. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  662. sybase.max_links = -1
  663.  
  664. ;sybase.interface_file = "/usr/sybase/interfaces"
  665.  
  666. ; Minimum error severity to display.
  667. sybase.min_error_severity = 10
  668.  
  669. ; Minimum message severity to display.
  670. sybase.min_message_severity = 10
  671.  
  672. ; Compatability mode with old versions of PHP 3.0.
  673. ; If on, this will cause PHP to automatically assign types to results according
  674. ; to their Sybase type, instead of treating them all as strings.  This
  675. ; compatability mode will probably not stay around forever, so try applying
  676. ; whatever necessary changes to your code, and turn it off.
  677. sybase.compatability_mode = Off
  678.  
  679. [Sybase-CT]
  680. ; Allow or prevent persistent links.
  681. sybct.allow_persistent = On
  682.  
  683. ; Maximum number of persistent links.  -1 means no limit.
  684. sybct.max_persistent = -1
  685.  
  686. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  687. sybct.max_links = -1
  688.  
  689. ; Minimum server message severity to display.
  690. sybct.min_server_severity = 10
  691.  
  692. ; Minimum client message severity to display.
  693. sybct.min_client_severity = 10
  694.  
  695. [dbx]
  696. ; returned column names can be converted for compatibility reasons
  697. ; possible values for dbx.colnames_case are
  698. ; "unchanged" (default, if not set)
  699. ; "lowercase"
  700. ; "uppercase"
  701. ; the recommended default is either upper- or lowercase, but
  702. ; unchanged is currently set for backwards compatibility
  703. dbx.colnames_case = "lowercase"
  704.  
  705. [bcmath]
  706. ; Number of decimal digits for all bcmath functions.
  707. bcmath.scale = 0
  708.  
  709. [browscap]
  710. ;browscap = extra/browscap.ini
  711.  
  712. [Informix]
  713. ; Default host for ifx_connect() (doesn't apply in safe mode).
  714. ifx.default_host =
  715.  
  716. ; Default user for ifx_connect() (doesn't apply in safe mode).
  717. ifx.default_user =
  718.  
  719. ; Default password for ifx_connect() (doesn't apply in safe mode).
  720. ifx.default_password =
  721.  
  722. ; Allow or prevent persistent links.
  723. ifx.allow_persistent = On
  724.  
  725. ; Maximum number of persistent links.  -1 means no limit.
  726. ifx.max_persistent = -1
  727.  
  728. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  729. ifx.max_links = -1
  730.  
  731. ; If on, select statements return the contents of a text blob instead of its id.
  732. ifx.textasvarchar = 0
  733.  
  734. ; If on, select statements return the contents of a byte blob instead of its id.
  735. ifx.byteasvarchar = 0
  736.  
  737. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  738. ; life of Informix SE users.
  739. ifx.charasvarchar = 0
  740.  
  741. ; If on, the contents of text and byte blobs are dumped to a file instead of
  742. ; keeping them in memory.
  743. ifx.blobinfile = 0
  744.  
  745. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  746. ; NULL's are returned as string 'NULL'.
  747. ifx.nullformat = 0
  748.  
  749. [Session]
  750. ; Handler used to store/retrieve data.
  751. session.save_handler = files
  752.  
  753. ; Argument passed to save_handler.  In the case of files, this is the path
  754. ; where data files are stored. Note: Windows users have to change this 
  755. ; variable in order to use PHP's session functions.
  756. session.save_path = "${path}\tmp\"
  757.  
  758. ; Whether to use cookies.
  759. session.use_cookies = 1
  760.  
  761. ; This option enables administrators to make their users invulnerable to 
  762. ; attacks which involve passing session ids in URLs; defaults to 0.
  763. ; session.use_only_cookies = 1
  764.  
  765. ; Name of the session (used as cookie name).
  766. session.name = PHPSESSID
  767.  
  768. ; Initialize session on request startup.
  769. session.auto_start = 0
  770.  
  771. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  772. session.cookie_lifetime = 0
  773.  
  774. ; The path for which the cookie is valid.
  775. session.cookie_path = /
  776.  
  777. ; The domain for which the cookie is valid.
  778. session.cookie_domain =
  779.  
  780. ; Handler used to serialize data.  php is the standard serializer of PHP.
  781. session.serialize_handler = php
  782.  
  783. ; Define the probability that the 'garbage collection' process is started
  784. ; on every session initialization.
  785. ; The probability is calculated by using gc_probability/gc_divisor,
  786. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  787. ; on each request.
  788.  
  789. session.gc_probability = 1
  790. session.gc_divisor     = 1000
  791.  
  792. ; After this number of seconds, stored data will be seen as 'garbage' and
  793. ; cleaned up by the garbage collection process.
  794. session.gc_maxlifetime = 1440
  795.  
  796. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  797. ; to initialize a session variable in the global scope, albeit register_globals
  798. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  799. ; You can disable the feature and the warning seperately. At this time,
  800. ; the warning is only displayed, if bug_compat_42 is enabled.
  801.  
  802. session.bug_compat_42 = 0
  803. session.bug_compat_warn = 1
  804.  
  805. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  806. ; HTTP_REFERER has to contain this substring for the session to be
  807. ; considered as valid.
  808. session.referer_check =
  809.  
  810. ; How many bytes to read from the file.
  811. session.entropy_length = 0
  812.  
  813. ; Specified here to create the session id.
  814. session.entropy_file =
  815.  
  816. ;session.entropy_length = 16
  817.  
  818. ;session.entropy_file = /dev/urandom
  819.  
  820. ; Set to {nocache,private,public,} to determine HTTP caching aspects.
  821. ; or leave this empty to avoid sending anti-caching headers.
  822. session.cache_limiter = nocache
  823.  
  824. ; Document expires after n minutes.
  825. session.cache_expire = 180
  826.  
  827. ; trans sid support is disabled by default.
  828. ; Use of trans sid may risk your users security.
  829. ; Use this option with caution.
  830. ; - User may send URL contains active session ID
  831. ;   to other person via. email/irc/etc.
  832. ; - URL that contains active session ID may be stored
  833. ;   in publically accessible computer. 
  834. ; - User may access your site with the same session ID
  835. ;   always using URL stored in browser's history or bookmarks.
  836. session.use_trans_sid = 0
  837.  
  838. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  839. ; form/fieldset are special; if you include them here, the rewriter will
  840. ; add a hidden <input> field with the info which is otherwise appended
  841. ; to URLs.  If you want XHTML conformity, remove the form entry.
  842. ; Note that all valid entries require a "=", even if no value follows.
  843. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  844.  
  845. [MSSQL]
  846. ; Allow or prevent persistent links.
  847. mssql.allow_persistent = On
  848.  
  849. ; Maximum number of persistent links.  -1 means no limit.
  850. mssql.max_persistent = -1
  851.  
  852. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  853. mssql.max_links = -1
  854.  
  855. ; Minimum error severity to display.
  856. mssql.min_error_severity = 10
  857.  
  858. ; Minimum message severity to display.
  859. mssql.min_message_severity = 10
  860.  
  861. ; Compatability mode with old versions of PHP 3.0.
  862. mssql.compatability_mode = Off
  863.  
  864. ; Connect timeout
  865. ;mssql.connect_timeout = 5
  866.  
  867. ; Query timeout
  868. ;mssql.timeout = 60
  869.  
  870. ; Valid range 0 - 2147483647.  Default = 4096.
  871. ;mssql.textlimit = 4096
  872.  
  873. ; Valid range 0 - 2147483647.  Default = 4096.
  874. ;mssql.textsize = 4096
  875.  
  876. ; Limits the number of records in each batch.  0 = all records in one batch.
  877. ;mssql.batchsize = 0
  878.  
  879. ; Specify how datetime and datetim4 columns are returned
  880. ; On => Returns data converted to SQL server settings
  881. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  882. ;mssql.datetimeconvert = On
  883.  
  884. ; Use NT authentication when connecting to the server
  885. mssql.secure_connection = Off
  886.  
  887. ; Specify max number of processes. Default = 25
  888. ;mssql.max_procs = 25
  889.  
  890. [Assertion]
  891. ; Assert(expr); active by default.
  892. ;assert.active = On
  893.  
  894. ; Issue a PHP warning for each failed assertion.
  895. ;assert.warning = On
  896.  
  897. ; Don't bail out by default.
  898. ;assert.bail = Off
  899.  
  900. ; User-function to be called if an assertion fails.
  901. ;assert.callback = 0
  902.  
  903. ; Eval the expression with current error_reporting().  Set to true if you want
  904. ; error_reporting(0) around the eval().
  905. ;assert.quiet_eval = 0
  906.  
  907. [Ingres II]
  908. ; Allow or prevent persistent links.
  909. ingres.allow_persistent = On
  910.  
  911. ; Maximum number of persistent links.  -1 means no limit.
  912. ingres.max_persistent = -1
  913.  
  914. ; Maximum number of links, including persistents.  -1 means no limit.
  915. ingres.max_links = -1
  916.  
  917. ; Default database (format: [node_id::]dbname[/srv_class]).
  918. ingres.default_database =
  919.  
  920. ; Default user.
  921. ingres.default_user =
  922.  
  923. ; Default password.
  924. ingres.default_password =
  925.  
  926. [Verisign Payflow Pro]
  927. ; Default Payflow Pro server.
  928. pfpro.defaulthost = "test-payflow.verisign.com"
  929.  
  930. ; Default port to connect to.
  931. pfpro.defaultport = 443
  932.  
  933. ; Default timeout in seconds.
  934. pfpro.defaulttimeout = 30
  935.  
  936. ; Default proxy IP address (if required).
  937. ;pfpro.proxyaddress =
  938.  
  939. ; Default proxy port.
  940. ;pfpro.proxyport =
  941.  
  942. ; Default proxy logon.
  943. ;pfpro.proxylogon =
  944.  
  945. ; Default proxy password.
  946. ;pfpro.proxypassword =
  947.  
  948. [Sockets]
  949. ; Use the system read() function instead of the php_read() wrapper.
  950. sockets.use_system_read = On
  951.  
  952. [com]
  953. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  954. ;com.typelib_file = 
  955. ; allow Distributed-COM calls
  956. ;com.allow_dcom = true
  957. ; autoregister constants of a components typlib on com_load()
  958. ;com.autoregister_typelib = true
  959. ; register constants casesensitive
  960. ;com.autoregister_casesensitive = false
  961. ; show warnings on duplicate constat registrations
  962. ;com.autoregister_verbose = true
  963.  
  964. [Printer]
  965. ;printer.default_printer = ""
  966.  
  967. [mbstring]
  968. ; language for internal character representation.
  969. ;mbstring.language = Japanese
  970.  
  971. ; internal/script encoding.
  972. ; Some encoding cannot work as internal encoding.
  973. ; (e.g. SJIS, BIG5, ISO-2022-*)
  974. ;mbstring.internal_encoding = EUC-JP
  975.  
  976. ; http input encoding.
  977. ;mbstring.http_input = auto
  978.  
  979. ; http output encoding. mb_output_handler must be
  980. ; registered as output buffer to function
  981. ;mbstring.http_output = SJIS
  982.  
  983. ; enable automatic encoding translation accoding to 
  984. ; mbstring.internal_encoding setting. Input chars are
  985. ; converted to internal encoding by setting this to On.
  986. ; Note: Do _not_ use automatic encoding translation for
  987. ;       portable libs/applications.
  988. ;mbstring.encoding_translation = Off
  989.  
  990. ; automatic encoding detection order.
  991. ; auto means 
  992. ;mbstring.detect_order = auto
  993.  
  994. ; substitute_character used when character cannot be converted
  995. ; one from another
  996. ;mbstring.substitute_character = none;
  997.  
  998. ; overload(replace) single byte functions by mbstring functions.
  999. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1000. ; etc. Possible values are 0,1,2,4 or combination of them.
  1001. ; For example, 7 for overload everything.
  1002. ; 0: No overload
  1003. ; 1: Overload mail() function
  1004. ; 2: Overload str*() functions
  1005. ; 4: Overload ereg*() functions
  1006. ;mbstring.func_overload = 0
  1007.  
  1008. [FrontBase]
  1009. ;fbsql.allow_persistent = On
  1010. ;fbsql.autocommit = On
  1011. ;fbsql.default_database = 
  1012. ;fbsql.default_database_password =
  1013. ;fbsql.default_host =
  1014. ;fbsql.default_password =
  1015. ;fbsql.default_user = "_SYSTEM"
  1016. ;fbsql.generate_warnings = Off
  1017. ;fbsql.max_connections = 128
  1018. ;fbsql.max_links = 128
  1019. ;fbsql.max_persistent = -1
  1020. ;fbsql.max_results = 128
  1021. ;fbsql.batchSize = 1000
  1022.  
  1023. [Crack]
  1024. ; Modify the setting below to match the directory location of the cracklib
  1025. ; dictionary files.  Include the base filename, but not the file extension.
  1026. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1027.  
  1028. [exif]
  1029. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
  1030. ; With mbstring support this will automatically be converted into the encoding
  1031. ; given by corresponding encode setting. When empty mbstring.internal_encoding 
  1032. ; is used. For the decode settings you can distinguish between motorola and 
  1033. ; intel byte order. A decode setting cannot be empty.
  1034. ;exif.encode_unicode = ISO-8859-15
  1035. ;exif.decode_unicode_motorola = UCS-2BE
  1036. ;exif.decode_unicode_intel    = UCS-2LE
  1037. ;exif.encode_jis = 
  1038. ;exif.decode_jis_motorola = JIS
  1039. ;exif.decode_jis_intel    = JIS
  1040.  
  1041. ; Local Variables:
  1042. ; tab-width: 4
  1043. ; End:
  1044.  
  1045.  
  1046. ;;;;;;;;;;;;;;;;;;;;;;
  1047. ; Dynamic Extensions ;
  1048. ;;;;;;;;;;;;;;;;;;;;;;
  1049. ;
  1050. ; If you wish to have an extension loaded automatically, use the following
  1051. ; syntax:
  1052. ;
  1053. ;   extension=modulename.extension
  1054. ;
  1055. ; For example, on Windows:
  1056. ;
  1057. ;   extension=msql.dll
  1058. ;
  1059. ; ... or under UNIX:
  1060. ;
  1061. ;   extension=msql.so
  1062. ;
  1063. ; Note that it should be the name of the module only; no directory information 
  1064. ; needs to go here.  Specify the location of the extension with the
  1065. ; extension_dir directive above.
  1066.  
  1067.  
  1068. ;Windows Extensions
  1069. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  1070. ;
  1071. ;PHPExt
  1072. ;extension=php_bz2.dll
  1073. ;extension=php_cpdf.dll
  1074. ;extension=php_crack.dll
  1075. ;extension=php_curl.dll
  1076. ;extension=php_db.dll
  1077. ;extension=php_dba.dll
  1078. ;extension=php_dbase.dll
  1079. ;extension=php_dbx.dll
  1080. ;extension=php_domxml.dll
  1081. ;extension=php_exif.dll
  1082. ;extension=php_fdf.dll
  1083. ;extension=php_filepro.dll
  1084. ;extension=php_gd2.dll
  1085. ;extension=php_gettext.dll
  1086. ;extension=php_hyperwave.dll
  1087. ;extension=php_iconv.dll
  1088. ;extension=php_ifx.dll
  1089. ;extension=php_iisfunc.dll
  1090. ;extension=php_imap.dll
  1091. ;extension=php_interbase.dll
  1092. ;extension=php_java.dll
  1093. ;extension=php_ldap.dll
  1094. extension=php_mbstring.dll
  1095. ;extension=php_mcrypt.dll
  1096. ;extension=php_mhash.dll
  1097. ;extension=php_mime_magic.dll
  1098. ;extension=php_ming.dll
  1099. ;extension=php_mssql.dll
  1100. ;extension=php_msql.dll
  1101. ;extension=php_oci8.dll
  1102. ;extension=php_openssl.dll
  1103. ;extension=php_oracle.dll
  1104. ;extension=php_pdf.dll
  1105. ;extension=php_pgsql.dll
  1106. ;extension=php_printer.dll
  1107. ;extension=php_shmop.dll
  1108. ;extension=php_snmp.dll
  1109. ;extension=php_sockets.dll
  1110. ;extension=php_sybase_ct.dll
  1111. ;extension=php_w32api.dll
  1112. ;extension=php_xmlrpc.dll
  1113. ;extension=php_xslt.dll
  1114. ;extension=php_yaz.dll
  1115. ;extension=php_zip.dll
  1116. ;/PHPExt
  1117.